package org.dromara.module.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.module.domain.BdProvince;
import org.dromara.module.domain.dto.AreaTreeSelect;

import java.util.List;

/**
 * 全国的 省份Service接口
 *
 * @author Mr.Zhou
 * @date 2024-12-04
 */
public interface IBdProvinceService extends IService<BdProvince>{

    List<AreaTreeSelect> getAllArea(BdProvince province);

    /**
     *  根据省市区的id  获取 省市区的名称
     * @param provId
     * @param cityId
     * @param districtId
     * @return
     */
    String getAreaNameByAreaId(Integer provId, Integer cityId, Integer districtId);
}
